package cn.com.thinvent.dispatch.service.biz;

import cn.com.thinvent.dispatch.entity.TravelManagement;
import cn.com.thinvent.dispatch.entity.request.TravelManagementRequest;
import cn.com.thinvent.dispatch.entity.response.PagedGridResult;

import java.util.Date;

public interface TravelManagementService {

    TravelManagement save(TravelManagementRequest travelManagementRequest);

    void deleteById(String id);

    TravelManagementRequest findById(String id);

    TravelManagement update(TravelManagementRequest travelManagementRequest);

    PagedGridResult<TravelManagement> getTravelList(int page, int pageSize, String tripName, Date startDate, Date endDate);

}
